package a.f.h.a.a;

import a.c.y;
import a.c.z;

public class f
  implements e
{
  protected f a;
  protected z b;
  protected int c;
  public static boolean d;
  public static boolean e;
  
  public f()
  {
    this(null);
  }
  
  public f(f paramf)
  {
    this(paramf, null);
  }
  
  public f(f paramf, z paramz)
  {
    this.a = paramf;
    this.b = paramz;
    if (!bool) {
      if (d())
      {
        if (bool) {
          break label54;
        }
        this.c = 0;
        if (!d) {
          return;
        }
      }
    }
    label54:
    this.c = (this.a.c + 1);
  }
  
  public f(f paramf, z paramz, int paramInt)
  {
    this.a = paramf;
    this.b = paramz;
    this.c = paramInt;
  }
  
  public y b()
  {
    if (!e) {
      if (f()) {
        this.b = new z();
      }
    }
    return this.b.h();
  }
  
  public void a(z paramz)
  {
    this.b = paramz;
  }
  
  public int g()
  {
    return this.c;
  }
  
  public void a(int paramInt)
  {
    this.c = paramInt;
  }
  
  public e a()
  {
    return this.a;
  }
  
  public void a(f paramf)
  {
    this.a = paramf;
  }
  
  public boolean f()
  {
    boolean bool = e;
    if (!bool) {
      if (this.b == null) {
        return true;
      }
    }
    if (!bool) {
      if (this.b.size() == 0) {
        return true;
      }
    }
    return false;
  }
  
  public boolean d()
  {
    return this.a == null;
  }
  
  public void b(f paramf)
  {
    if (!e) {
      if (this.b == null) {
        this.b = new z();
      }
    }
    this.b.add(paramf);
  }
  
  public void c()
  {
    if ((e) || (!d()))
    {
      f localf = (f)a();
      localf.b.remove(this);
    }
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.f.h.a.a.f
 * JD-Core Version:    0.7.0.1
 */